package com.hyving.home.mybatismulti.service;

import com.hyving.home.mybatismulti.aop.MultiDataSourceTransactional;
import org.springframework.stereotype.Service;

@Service
public class MultiService {


    @MultiDataSourceTransactional(transactionManagers = {"dataSourceTransactionManagerPrimary", "dataSourceTransactionManagerSecond"})
    public void saveall(){
        ///
    }
}
